package com.tbit.uqbike.service.business;

import com.tbit.uqbike.object.pojo.vo.AdopterAccountUserVO;
import com.tbit.uqbike.object.pojo.vo.AdopterMachineVO;
import com.tbit.uqbike.object.pojo.vo.AdopterOperatingStat;
import com.tbit.uqbike.object.pojo.vo.AdopterOperatingStatVO;
import com.tbit.common.entity.view.PageResult;
import com.tbit.common.entity.view.Result;

import java.util.Date;
import java.util.List;

/**
 * 领养人数据统计
 *
 * @Author:BUGTian
 * @DATE: 2022/9/27
 */
public interface AdopterMsgService {
    /**
     * 运营统计详情/图表
     *
     * @param accountUserId
     * @param adAccountId
     * @param startTime
     * @param endTime
     * @param adopterAccountUserId
     * @return
     */
    AdopterOperatingStatVO adopterOperatingStat(Integer accountUserId, Integer adAccountId, Date startTime, Date endTime, Integer adopterAccountUserId);

    /**
     * 查询领养人车辆列表
     *
     * @param page
     * @param size
     * @param accountUserId
     * @param adAccountId
     * @param machineNO
     * @param state
     * @return
     */
    Result<PageResult<AdopterMachineVO>> queryAdopterMachine(Integer page, Integer size, Integer accountUserId, Integer adAccountId, String machineNO, Integer state, Date startTime, Date endTime);


    /**
     * 领养人账号列表
     *
     * @param accountId
     * @return
     */
    List<AdopterAccountUserVO> queryAdopterAccountUser(Integer accountId);

}
